const { 
  override, 
  fixBabelImports, 
  addWebpackAlias, 
  addDecoratorsLegacy,
  // setWebpackPublicPath
} = require('customize-cra')

const path = require('path')

module.exports = override(
  fixBabelImports('import', {
    libraryName: 'antd-mobile',
    style: 'css',
  }),
  addWebpackAlias({
    '@': path.resolve(__dirname, './src')
  }),
  addDecoratorsLegacy(),
  // setWebpackPublicPath('http://localhost:8090')
);